/**
 * ____________________ *
 *  ____ ____ ____ _  _ *
 *  |___ [__] |--< |\/| *
 * ____________________ *
 *
 * THE CORM PROJECT
 *
 * This file may only be used in accordance with the
 * terms of the Academic Free License ("AFL") v. 3.0,
 * as published by the Open Software Initiative.  A
 * copy of this license is provided in this source
 * release, and may be viewed online at:
 *
 * (http://www.opensource.org/licenses/afl-3.0.php)
 */
package org.eremite.corm.crm;

import org.eremite.corm.party.relationship.PartyRelationship;
import org.eremite.corm.party.relationship.PartyRole;
import org.eremite.corm.party.address.Address;

import java.util.Date;
import java.util.Set;

public class Communication extends PartyRelationship {

    private Date dateSent;
    private Date dateReceived;
    private String content;
    private String outcome;
    private Set<PartyRole> participants;
    private Communication previous;
    private Communication next;

    private Address fromAddress;
    private Address toAddress;
    private Set<Action> actions;

    public Date getDateSent() {
        return dateSent;
    }

    public void setDateSent(Date dateSent) {
        this.dateSent = dateSent;
    }

    public Date getDateReceived() {
        return dateReceived;
    }

    public void setDateReceived(Date dateReceived) {
        this.dateReceived = dateReceived;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getOutcome() {
        return outcome;
    }

    public void setOutcome(String outcome) {
        this.outcome = outcome;
    }

    public Set<PartyRole> getParticipants() {
        return participants;
    }

    public void setParticipants(Set<PartyRole> participants) {
        this.participants = participants;
    }

    public Communication getPrevious() {
        return previous;
    }

    public void setPrevious(Communication previous) {
        this.previous = previous;
    }

    public Communication getNext() {
        return next;
    }

    public void setNext(Communication next) {
        this.next = next;
    }

    public Address getFromAddress() {
        return fromAddress;
    }

    public void setFromAddress(Address fromAddress) {
        this.fromAddress = fromAddress;
    }

    public Address getToAddress() {
        return toAddress;
    }

    public void setToAddress(Address toAddress) {
        this.toAddress = toAddress;
    }

    public Set<Action> getActions() {
        return actions;
    }

    public void setActions(Set<Action> actions) {
        this.actions = actions;
    }
}
